import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import store from '@/store'
import common from '@/libs/common'
import config from '@/config'
import iView from 'view-design'
import 'view-design/dist/styles/iview.css'
import './index.less'
import '@/assets/icons/iconfont.css'
import '@/assets/layui/css/layui.css'

if (process.env.NODE_ENV !== 'production') require('@/mock')
Vue.use(iView)

Vue.config.productionTip = false
Vue.prototype.$common = common
Vue.prototype.$config = config

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
